﻿// clickable mouth that makes eating sound when pressed

using UnityEngine;
using System.Collections;

public class ClickableButtonGotoLevel : ClickableObject
{
	public string levelToLoad;

	// Use this for initialization
	void Start ()
	{
	//	gameController = GameObject.Find("GameController").GetComponent<GameController>();
	}
	
	// Update is called once per frame
	void Update ()
	{
		
	}
	
	override public void BeganTouch(Vector3 position)
	{
		Application.LoadLevel(levelToLoad);
	}

	override public void MovedTouch(Vector3 position)
	{
	}
	
	override public void EndedTouch()
	{
	}
}
